package com.ruoyi.dome.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * demo表
 * </p>
 *
 * @author zhangzk
 * @since 2025-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("STUDENTINFO")
@ApiModel(value="Studentinfo对象", description="demo表")
public class Studentinfo extends Model<Studentinfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "学生姓名")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "备注信息")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建者")
    @TableField("CREATOR")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATETIME")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "修改者")
    @TableField("MODIFIER")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFYTIME")
    private LocalDateTime modifytime;

    @ApiModelProperty(value = "删除标志，0:未删除;1:已删除")
    @TableField("DELFLAG")
    private String delflag;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
